﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NotebookS2.Reports.Spreadsheet
{
    public partial class NotebookXcel : Form
    {
        public NotebookXcel()
        {
            InitializeComponent();
        }

        
        public void OpenFile(string sFileName)
        {
            
            spreadsheetControl1.LoadDocument(sFileName);
            spreadsheetControl1.ActiveWorksheet.Cells.Borders.RemoveBorders();
            //spreadsheetControl1.ActiveWorksheet.ActiveView.ShowGridlines = false;
        }

        private void NotebookXcel_Load(object sender, EventArgs e)
        {
            ;
        }
    }
}
